Routines (alphabetical) > Routines: H > HDF Routines > HDF_SD_DIMGETID

HDF_SD_DIMGETID

The HDF_SD_DIMGETID function returns a dimension ID given a dataset’s “SDdataset_id” and a dimension number.

Syntax

Result = HDF_SD_DIMGETID(SDdataset_id, Dimension_Number)

Return Value

Returns the dimension identifier.

Arguments

SDdataset_id

An SD dataset ID as returned by HDF_SD _SELECT or HDF_SD_CREATE.

Dimension_Number

A zero-based dimension number. The dimension number must be greater than or equal to 0 and less than the maximum dimension number, or rank.

Keywords

None

Examples

For an example illustrating this routine, see the documentation for HDF_SD_DIMSET.

Version History

 

4.0

Introduced

See Also

HDF_SD_CREATE, HDF_SD_DIMGET, HDF_SD_DIMSET, HDF_SD_SELECT